package com.jichangxiu.server.platform.entity.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * PlatformTenantQueryDto:
 *
 * @author Jcx
 * @create 2023-03-26 13:39
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "租户实体")
public class PlatformTenantQueryDto {

    @Schema(description = "租户ID")
    private String tenantId;

    @Schema(description = "租户标识")
    private String tenantCode;

    @Schema(description = "租户名称")
    private String tenantName;

    @Schema(description = "租户负责人ID")
    private String platformUserId;

    @Schema(description = "租户负责人名称")
    private String platformUserName;

    @Schema(description = "租户联系电话")
    private String phone;

    @Schema(description = "租户邮箱")
    private String email;

    @Schema(description = "租户Logo")
    private String logoUrl;

    @Schema(description = "租户系统开始时间")
    private Date startDate;

    @Schema(description = "租户系统到期时间")
    private Date endDate;

    @Schema(description = "是否平台级租户（0否 1是）")
    private Boolean isPlatform;

    @Schema(description = "备注")
    private String remark;

    @Schema(description = "状态（false停用 true正常）")
    private Boolean status;

    @Schema(description = "创建者")
    private String createBy;

    @Schema(description = "创建时间")
    private Date createTime;

    @Schema(description = "更新者")
    private String updateBy;

    @Schema(description = "更新时间")
    private Date updateTime;

}
